package com.xxxx.tkmapperdemo01;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
//修改启动类中的注解，使用tkmapper需要使用tk.mybatis包中的注解
@MapperScan("com.xxxx.tkmapperdemo01.mapper")
public class TkmapperDemo01Application {

    public static void main(String[] args) {
        SpringApplication.run(TkmapperDemo01Application.class, args);
    }

}
